package com.ruoyi.mall.common.mapper;

import com.ruoyi.mall.common.domain.DtsGoodsAttribute;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DtsGoodsAttributeMapper {
    // 批量插入商品属性
    public int insertDtsGoodsAttribute(List<DtsGoodsAttribute> dtsGoodsAttribute);

    // 使用商品id查询商品属性
    public List<DtsGoodsAttribute> selectDtsGoodsAttribute(Long goodsId);

    // 批量删除商品属性
    public int deleteDtsGoodsAttributeList(List<Long> ids);

    // 更新商品属性
    public int updateDtsGoodsAttributeById(DtsGoodsAttribute dtsGoodsAttribute);

}
